package com.spring.extjs.model;

import java.io.Serializable;

import org.codehaus.jackson.annotate.JsonIgnore;

import com.spring.extjs.util.annotation.FieldDefine;

/** 
 * 系统可使用的菜单项 
 *  
 * @author chj_0507_dz@sina.com 
 *  
 */
public class MenuModule implements IModuleControlInterface, Serializable {

	private static final long serialVersionUID = 1L;

    @FieldDefine(title = "ID号", hidden = true, number = 10)  
    private Integer tf_menuModuleId;  
  
    @FieldDefine(title = "顺序号", remark = "按顺序号显示在菜单中", number = 20)  
    private Integer tf_orderId;  
  
    @JsonIgnore  
    @FieldDefine(title = "菜单分组", nameField = true, number = 30)  
    private MenuGroup tf_MenuGroup;  
  
    @JsonIgnore  
    @FieldDefine(title = "系统模块", number = 40)  
    private Module tf_Module;  
  
    @FieldDefine(title = "父菜单标题", number = 50)  
    private String tf_parentMenu;  
  
    @FieldDefine(title = "分隔下一条", number = 60)  
    private Boolean tf_addSeparator;  
  
  
    @FieldDefine(title = "菜单标题", number = 70)  
    private String tf_title;  
  
    @FieldDefine(title = "父模块约束设置", number = 80)  
    private String tf_parentFilter;  
      
    // 这个字段用于传送json到前台，放在json中  
    private String tf_ModuleId;

	public Integer getTf_menuModuleId() {
		return tf_menuModuleId;
	}

	public void setTf_menuModuleId(Integer tf_menuModuleId) {
		this.tf_menuModuleId = tf_menuModuleId;
	}

	public Integer getTf_orderId() {
		return tf_orderId;
	}

	public void setTf_orderId(Integer tf_orderId) {
		this.tf_orderId = tf_orderId;
	}

	public MenuGroup getTf_MenuGroup() {
		return tf_MenuGroup;
	}

	public void setTf_MenuGroup(MenuGroup tf_MenuGroup) {
		this.tf_MenuGroup = tf_MenuGroup;
	}

	public Module getTf_Module() {
		return tf_Module;
	}

	public void setTf_Module(Module tf_Module) {
		this.tf_Module = tf_Module;
	}

	public String getTf_parentMenu() {
		return tf_parentMenu;
	}

	public void setTf_parentMenu(String tf_parentMenu) {
		this.tf_parentMenu = tf_parentMenu;
	}

	public Boolean getTf_addSeparator() {
		return tf_addSeparator;
	}

	public void setTf_addSeparator(Boolean tf_addSeparator) {
		this.tf_addSeparator = tf_addSeparator;
	}

	public String getTf_title() {
		return tf_title;
	}

	public void setTf_title(String tf_title) {
		this.tf_title = tf_title;
	}

	public String getTf_parentFilter() {
		return tf_parentFilter;
	}

	public void setTf_parentFilter(String tf_parentFilter) {
		this.tf_parentFilter = tf_parentFilter;
	}

	public String getTf_ModuleId() {
		return tf_ModuleId;
	}

	public void setTf_ModuleId(String tf_ModuleId) {
		this.tf_ModuleId = tf_ModuleId;
	} 
    
}
